package com.ktgj.customer.domain.Insurance;

import com.ktgj.common.core.web.domain.BaseEntity;

import java.util.Date;
import java.util.List;

public class SearchInsPolicyResponse extends BaseEntity {
    /// <summary>
    /// 是否需要核实保单状态
    /// </summary>
    public boolean isModify;
    /// <summary>
    /// 没有获取到保单状态原因
    /// </summary>
    public String unobtainableMsg;
    /// <summary>
    /// 具体信息
    /// </summary>
    public List<SearchInsRecordInfo> policy;

    public boolean isModify() {
        return isModify;
    }

    public void setModify(boolean modify) {
        isModify = modify;
    }

    public String getUnobtainableMsg() {
        return unobtainableMsg;
    }

    public void setUnobtainableMsg(String unobtainableMsg) {
        this.unobtainableMsg = unobtainableMsg;
    }

    public List<SearchInsRecordInfo> getPolicy() {
        return policy;
    }

    public void setPolicy(List<SearchInsRecordInfo> policy) {
        this.policy = policy;
    }
}
class SearchInsRecordInfo extends BaseEntity
{
    /// <summary>
    /// 保单状态
    /// </summary>
    public String insuranceState;
    /// <summary>
    /// 保单失败原因
    /// </summary>
    public String errMsg;
    /// 电子保单号
    /// </summary>
    public String policyNo;
    /// <summary>
    /// 保单类型
    /// </summary>
    public String insTypeName;
    /// <summary>
    /// 保险公司
    /// </summary>
    public String insCompanyName;
    /// <summary>
    /// 保险生效日期
    /// </summary>
    public Date insEffectiveDate;
    /// <summary>
    /// 保险失效日期
    /// </summary>
    public Date insExpirationDate;
    /// <summary>
    /// 第三方 订单号
    /// </summary>
    public String thirdOrderId;

    public String getInsuranceState() {
        return insuranceState;
    }

    public void setInsuranceState(String insuranceState) {
        this.insuranceState = insuranceState;
    }

    public String getErrMsg() {
        return errMsg;
    }

    public void setErrMsg(String errMsg) {
        this.errMsg = errMsg;
    }

    public String getPolicyNo() {
        return policyNo;
    }

    public void setPolicyNo(String policyNo) {
        this.policyNo = policyNo;
    }

    public String getInsTypeName() {
        return insTypeName;
    }

    public void setInsTypeName(String insTypeName) {
        this.insTypeName = insTypeName;
    }

    public String getInsCompanyName() {
        return insCompanyName;
    }

    public void setInsCompanyName(String insCompanyName) {
        this.insCompanyName = insCompanyName;
    }

    public Date getInsEffectiveDate() {
        return insEffectiveDate;
    }

    public void setInsEffectiveDate(Date insEffectiveDate) {
        this.insEffectiveDate = insEffectiveDate;
    }

    public Date getInsExpirationDate() {
        return insExpirationDate;
    }

    public void setInsExpirationDate(Date insExpirationDate) {
        this.insExpirationDate = insExpirationDate;
    }

    public String getThirdOrderId() {
        return thirdOrderId;
    }

    public void setThirdOrderId(String thirdOrderId) {
        this.thirdOrderId = thirdOrderId;
    }
}
